import jwt
import random
from utils import utc_timestamp

payload = {
        'iss': 'user:11692228:194',
        'jti': random.random(),
        'iat': utc_timestamp(),
        'exp': utc_timestamp() + 60
    }
secret=open('/var/lib/openshift/53eafa98e0b8cdd9f1000005/app-root/runtime/data/github-sh/xpi/pyjwt/secret.txt')
print(jwt.encode(payload, secret.read(), algorithm='HS256'))
secret.close()